describe("ApplicationView", function(){
    var applicationView = null;
    beforeEach(function(){
        applicationView = App.ApplicationView.create();
    });

    it("didInsertElement method",function(){
        var controller = {
            setBackground: function(){}
//            setMinHeight: function(){}
        };
        spyOn(controller, 'setBackground');
//        spyOn(controller, 'setMinHeight');
        spyOn(applicationView, 'get').andReturn(controller);
        applicationView.didInsertElement();
        expect(applicationView.get('controller').setBackground).toHaveBeenCalled();
//        expect(applicationView.get('controller').setMinHeight).toHaveBeenCalled();
    });
});